//
//  UIButton+JBWTitleImgEdgeInsets.h
//  JBWDSK
//
//  Created by 崔志伟 on 2018/7/30.
//  Copyright © 2018年 崔志伟. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, JBWButtonEdgeInsetsStyle){
    //文字在左 图片在右
    JBWButtonEdgeInsetsStyleLeft,
    //文字在右 图片在左
    JBWButtonEdgeInsetsStyleRight,
    //文字在上 图片在下
    JBWButtonEdgeInsetsStyleTop,
    //文字在下 图片在上
    JBWButtonEdgeInsetsStyleBottom
};

@interface UIButton (JBWTitleImgEdgeInsets)

- (void)layoutButtonTitleImageEdgeInsetsWithStyle:(JBWButtonEdgeInsetsStyle)style titleImgSpace:(CGFloat)space;

@end
